<template>
  <div class="index">
    <div class="banner">
      <img src="../assets/img/banner.png">
    </div>
    <div class="box-body">
      <div class="searchs">
        <input>
        <button>查询</button>
      </div>
      <p><b>推荐文献</b></p>
    </div>
    <div class='list'>
      <ul>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button><router-link  to="/text">阅读</router-link></button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>阅读</button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>阅读</button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>阅读</button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>阅读</button>
          <button>购买</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>查看</button>
          <button>删除</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>查看</button>
          <button>删除</button>
        </li>
        <li>
          <img src="../assets/img/p_01.png">
          <p>古代的中医</p>
          <button>查看</button>
          <button>删除</button>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>

</script>
<style>
  .index img{
    width:100%;
    height:auto;
  }
  a{
    text-decoration: none;
    color: black;
  }
  .index{
    flex: 1 0 auto;
  }
  .index .box-body{
    overflow: auto;
    width:50%;
    margin:auto;
    margin-top: 30px;
    border-bottom: solid 3px #c0a369;
    padding-bottom: 20px;
  }
  .list{
    width:50%;
    margin:auto;
  }
  .box-body .searchs{
    float: left;
  }
  .box-body .searchs input{
    width:500px;
   }
  .box-body p{
    float: right;
    margin: 0;
  }
  .box-body button{
    background-color: #21ac13;
    border:none;
    width:60px;
    color: white;
  }
  .box-body input{
    width:300px;
  }
  .list ul{
    list-style:none;
    padding:0;
    overflow: auto;
  }
  .list li{
    width:16%;
    float: left;
    margin-left: 3.3%;
    margin-top: 20px;
  }
  .list p{
    margin:0;
    line-height:40px;
  }
</style>
